package com.zys.convert;

import com.zys.domain.User;
import com.zys.dto.UserDTO;
import org.apache.ibatis.annotations.Mapper;
import org.mapstruct.factory.Mappers;
import org.springframework.stereotype.Component;

@Component
public interface UserDtoConvert {
     UserDtoConvert INSTANCE = Mappers.getMapper(UserDtoConvert.class);

     User convertDtoToUser(UserDTO userDTO);
}
